<#import "/common/taglibs/spring.ftl" as spring/>
<#macro dateInput date format="yyyy-MM-dd" inputName="date">
<div class="input-group date date-picker" data-date-format="yyyy-mm-dd">
    <input type="text" class="form-control m-input" readonly name="${inputName}" value='${datetimeFormat(date,format)}'>
    <div class="input-group-append">
        <button class="btn btn-sm btn-secondary" type="button">
            <i class="la la-calendar"></i>
        </button>
    </div>
</div>
</#macro>